package com.migo.service.impl;

import com.migo.dao.ShOrderStatusLineDao;
import com.migo.entity.ShOrderStatusLineEntity;
import com.migo.service.ShOrderStatusLineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("shOrderStatusLineService")
public class ShOrderStatusLineServiceImpl implements ShOrderStatusLineService {
	@Autowired
	private ShOrderStatusLineDao shOrderStatusLineDao;
	
	@Override
	public ShOrderStatusLineEntity queryObject(Integer id){
		return shOrderStatusLineDao.queryObject(id);
	}
	
	@Override
	public List<ShOrderStatusLineEntity> queryList(Map<String, Object> map){
		return shOrderStatusLineDao.queryList(map);
	}
	@Override
	public List<ShOrderStatusLineEntity> queryListByStatusId(Map<String, Object> map){
		return shOrderStatusLineDao.queryListByStatusId(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return shOrderStatusLineDao.queryTotal(map);
	}
	
	@Override
	public void save(ShOrderStatusLineEntity shOrderStatusLine){
		shOrderStatusLineDao.save(shOrderStatusLine);
	}
	
	@Override
	public void update(ShOrderStatusLineEntity shOrderStatusLine){
		shOrderStatusLineDao.update(shOrderStatusLine);
	}
	
	@Override
	public void delete(Integer id){
		shOrderStatusLineDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		shOrderStatusLineDao.deleteBatch(ids);
	}
	
}
